package com.woniuxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.woniuxy.entity.Message;

/**
 * 消息相关dao
 * @author lishuwei&zenglingzhong
 *
 */
public interface MessageDao {

	public int addMessage(Message message) ;
	public int addOrderMessage(Message message) ;
	public int addSignMessage(Message message) ;
	
	public List<Message> getUnreadByPage(long id,String status,int page, int pagesize);
	
	public int getUnreadTotalNum(long id,String status);

	public void updateStatus(int id,String status);
	public void updateStatusByOrderId(long orderId);
	



}
